<?php
$this->breadcrumbs=array(
	'Participants'=>array('index'),
	$model->P_id,
);
if(Yii::app()->user->name=='admin')
{
	$this->menu=array(
	array('label'=>'List Participant', 'url'=>array('index')),
	//array('label'=>'Create Participant', 'url'=>array('create')),
	array('label'=>'Update Participant', 'url'=>array('update', 'id'=>$model->P_id)),
	array('label'=>'Delete Participant', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->P_id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Participant', 'url'=>array('admin')),
	);
}
else 
{
	$this->menu=array(
	array('label'=>'Update Participant', 'url'=>array('update', 'id'=>$model->P_id)),
	);
}

?>

<h1>View Participant #<?php echo $model->P_id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'P_id',
		'P_uid',
		'P_eid',
		'P_fname',
		'P_lname',
		'P_minitial',
		'P_address',
		'P_city',
		'P_state',
		'P_zip',
		'P_age',
		'P_current_grade',
		'P_school_district',
	),
)); ?>
